package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ocom.common.request.payconfig.mealorder.GetOrderPlanDishesResponse;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class GetPointMealSendReportsXMRequest implements Serializable {

    private static final long serialVersionUID = 4729878298970560633L;

    @JsonProperty("comId")
    @NotNull(message = "comId 不能为空")
    private Long comId;

    private Integer pointId;

    private Integer receiptId;

    private String receiptName;

    @NotBlank(message = "mealDate 不能为空")
    private String mealDate;

    @NotNull(message = "mealNo 不能为空")
    private Integer mealNo;

    private List<GetOrderPlanDishesResponse> dishesList = new ArrayList<>();
}
